//package com.inspur.edp.bef.rtgenerator.entitygen.bevalgen;
//
//import com.inspur.edp.bef.api.be.IBENodeEntityContext;
//import com.inspur.edp.cef.rtgenerator.entitygen.validation.method.GetChangesetValGenerator;
//import org.eclipse.jdt.core.dom.Block;
//import org.eclipse.jdt.core.dom.CastExpression;
//import org.eclipse.jdt.core.dom.MethodInvocation;
//import org.eclipse.jdt.core.dom.ParenthesizedExpression;
//import org.eclipse.jdt.core.dom.ReturnStatement;
//
//public class GetChangesetValGeneratorImp extends GetChangesetValGenerator
//{
//	@Override
//	protected Block buildMethodBody() {
//		Block block=ast.newBlock();
//		MethodInvocation methodInvocation=ast.newMethodInvocation();
//		methodInvocation.setName(ast.newSimpleName("getCurrentChange"));
//
//		ParenthesizedExpression parenthesizedExpression=ast.newParenthesizedExpression();
//
//		CastExpression castExpression=ast.newCastExpression();
//		castExpression.setType(new com.inspur.edp.caf.generator.baseInfo.TypeInfo(IBENodeEntityContext.class).getType(ast));
//		castExpression.setExpression(ast.newSimpleName("dataTypeContext"));
//		parenthesizedExpression.setExpression(castExpression);
//
//		methodInvocation.setExpression(parenthesizedExpression);
//		ReturnStatement returnStatement = ast.newReturnStatement();
//		returnStatement.setExpression(methodInvocation);
//		block.statements().add(returnStatement);
//		return block;
//	}
//
//}